
<!-- 头部 -->
<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<base href="/guguanjia/">
	<meta charset="utf-8" />
	<meta name="renderer" content="webkit">

	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
	<title>固管家服务平台</title>

	<meta name="description" content="index" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

	<!-- bootstrap & fontawesome -->
	<link rel="stylesheet" href="static/bootstrap/bootstrap.min.css" />
	<link rel="stylesheet" href="static/css/font-awesome.min.css" />

	<link rel="stylesheet" href="static/chosen/chosen.min.css" />

	<!-- ace styles -->
	<link rel="stylesheet" href="static/ace/css/ace.min.css" id="main-ace-style" />

	<!--[if lte IE 9]>
	<link rel="stylesheet" href="static/ace/css/ace-part2.min.css" />
	<![endif]-->
	<link rel="stylesheet" href="static/ace/css/ace-skins.min.css" />
	<link rel="stylesheet" href="static/ace/css/ace-rtl.min.css" />

	<!--[if lte IE 9]>
	<link rel="stylesheet" href="static/ace/css/ace-ie.min.css" />
	<![endif]-->

	<link rel="stylesheet" href="static/ztree/metro.css" />
	<link rel="stylesheet" href="static/validate/css/validform.css" />
	<link rel="stylesheet" href="static/css/custom.css" />

	<!--[if !IE]> -->
	<script src="static/jquery/jquery.js"></script>
	<!-- <![endif]-->
	<script>
		$(function () {
			$("#navbar").load("/guguanjia/common/navbar");
			$("#sidebar").load("/guguanjia/common/sidebar");
		})
	</script>
	<!--[if IE]>
	<script src="static/jquery/jquery-1.11.1.min.js"></script>
	<!-- <![endif]-->

	<!-- ace settings handler -->
	<script src="static/ace/js/ace-extra.min.js"></script>

	<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

	<!--[if lte IE 8]>
	<script src="static/bootstrap/html5shiv.min.js"></script>
	<script src="static/bootstrap/respond.min.js"></script>
	<script>var ie8 = "ie8";</script>
	<![endif]-->
</head>

<body class="no-skin" id="body-content">
<!-- 顶部条 -->
<div id="navbar" class="navbar navbar-default">

</div>
<!-- 主体 -->
<div class="main-container" id="main-container">



	<div id="sidebar" class="sidebar responsive">


		<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
			<i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
		</div>


	</div>


	<div class="main-content">
		<div class="breadcrumbs" id="breadcrumbs">


			<ul class="tab" id="breadcrumb">
				<!-- <li class="active" >
               菜单配置<i class="fa fa-times close"></i>
               </li>  -->
			</ul><!-- /.breadcrumb -->
			<div id="tab-menu">
				<ul class="dropdown-menu dropdown-caret" style="min-width: 0px;">
					<li><a href="javascript:void(0);" data-right-menu="all_close">全部关闭</a></li>
					<li><a href="javascript:void(0);" data-right-menu="other_close">关闭其他</a></li>
				</ul>
			</div>
		</div>

		<div class="page-content">
			<div class="ace-settings-container" id="ace-settings-container">
				<div class="btn btn-app btn-xs btn-warning ace-settings-btn"
					 id="ace-settings-btn">
					<i class="ace-icon fa fa-cog bigger-150"></i>
				</div>

				<div class="ace-settings-box clearfix" id="ace-settings-box">
					<div class="pull-left width-50">
						<div class="ace-settings-item">
							<div class="pull-left">
								<select id="skin-colorpicker" class="hide">
									<option data-skin="no-skin" value="#438EB9">#438EB9</option>
									<option data-skin="skin-1" value="#222A2D">#222A2D</option>
									<option data-skin="skin-2" value="#C6487E">#C6487E</option>
									<option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
								</select>
							</div>
							<span>&nbsp; 皮肤</span>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-navbar" /> <label class="lbl"
																	  for="ace-settings-navbar"> 固定页头</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-sidebar" /> <label class="lbl"
																	   for="ace-settings-sidebar"> 固定导航菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-breadcrumbs" /> <label class="lbl"
																		   for="ace-settings-breadcrumbs"> 固定导航条</label>
						</div>

						<!-- <div class="ace-settings-item">
                            <input type="checkbox" class="ace ace-checkbox-2"
                                id="ace-settings-rtl" /> <label class="lbl" for="ace-settings-rtl">
                                Right To Left (rtl)</label>
                        </div> -->

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-add-container" /> <label class="lbl"
																			 for="ace-settings-add-container"> 固定宽度
						</label>
						</div>
					</div>
					<!-- /.pull-left -->

					<div class="pull-left width-50">
						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-hover" /> <label class="lbl"
																	 for="ace-settings-hover"> 滑动式菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-compact" /> <label class="lbl"
																	   for="ace-settings-compact"> 紧凑式菜单</label>
						</div>

						<div class="ace-settings-item">
							<input type="checkbox" class="ace ace-checkbox-2"
								   id="ace-settings-highlight" /> <label class="lbl"
																		 for="ace-settings-highlight"> 高亮选中</label>
						</div>
					</div>
					<!-- /.pull-left -->
				</div>
				<!-- /.ace-settings-box -->
			</div>
			<!-- /.ace-settings-container -->
			<div class="page-header">
				<h1> 日志查询 </h1>
			</div>
			<div class="row">
				<div class="col-xs-12">
					<div id="fill-main-content" style="height:100%">
						<div class="tabbable">
							<ul class="nav nav-tabs" id="myTab">
								<li class="active"><a data-toggle="tab" href="#home"> <i
										class="green ace-icon fa fa-list-alt bigger-120"></i> 日志列表
								</a></li>
							</ul>

							<div class="tab-content">
								<div id="home" class="tab-pane active clearfix">
									<form action="#" method="post" id="search-form" target="list-page" class="clearfix">
										<div class="pull-left width-25">
<!--											<label>类型：</label>-->
											<select class="width-80" name="type"  v-model="condition.type">
												<option value="">全部</option>
												<option value="1">
													操作日志
												</option>
												<option value="2">
													异常日志
												</option>

											</select><div class="chosen-container chosen-container-single chosen-container-active chosen-with-drop" style="width: 60%; display: none" title="" id="chosen_select_chosen"><a class="chosen-single" tabindex="-1"><span>全部</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off"></div><ul class="chosen-results"><li class="active-result result-selected" data-option-array-index="0">全部</li><li class="active-result" data-option-array-index="1">操作日志</li><li class="active-result" data-option-array-index="2">异常日志</li></ul></div></div>

										</div>
										<div class="pull-left width-30">
											<label>描述：</label>
											<input type="text" class="width-80" name="description" v-model="condition.description"/>
										</div>
										<div class="pull-left"><span class="btn btn-info btn-sm " id="search-btn" @click="selectPage()">查 询</span></div>
									</form>
									<hr/>
									<div id="list-page">
										<table class="table table-striped table-bordered table-hover nomargin-bottom">
											<thead>
											<tr>
												<th class="center">类型</th>
												<th class="center">异常</th>
												<th class="center">描述</th>
												<th class="center">操作方式</th>
												<th class="center">参数</th>
												<th class="center">请求URI</th>
												<th class="center">操作</th>
											</tr>
											</thead>

											<tbody>
											<tr v-for="log in page.list">
												<td class="center">{{log.type==2?'异常日志':'操作日志'}}</td>
												<td class="center">{{log.exception}}</td>
												<td class="center">{{log.description}}</td>
												<td class="center">{{log.method}}</td>
												<td class="center">{{log.params}}</td>
												<td class="center">{{log.requestUri}}</td>
												<td class="center">
													<div class="hidden-sm hidden-xs action-buttons">
														<a class="purple" @click="todetil(log)">
															<i class="ace-icon fa fa-search-plus bigger-130"></i>
														</a>

														<a class="red" href="javascript:void(0);" @click="deleteById(log.id)">
															<i class="ace-icon fa fa-trash-o bigger-130"></i>
														</a>
													</div>
												</td>
											</tr>

											</tbody>
										</table>
										<div class="space-8"></div>

										<div class="clearfix">
											<div style="float: left;">
												<div style="padding-top:5px;">
		<span class="badge badge-info">
				当前第 {{page.pageNum}} 页 / {{page.pages}} 页，共 {{page.total}} 条数据
			</span>
												</div>
											</div>
											<div>
												<div class="pagination no-margin pull-right clearfix">
													<li class="prev"><a href="javascript:void(0);" @click=" selectPage(1)">首页</a></li>
													<li v-if="page.hasPreviousPage" class="prev"><a href="javascript:void(0);" @click=" selectPage(page.pageNum-1)">上一页</a></li>
													<li v-else class="prev disabled"><a href="javascript:void(0);" onclick="">上一页</a></li>
													<template v-for="pageIndex in page.navigatepageNums">
														<li v-if="pageIndex==page.pageNum" class="active"><a href="javascript:void(0);" onclick="">{{pageIndex}}</a></li>
														<li v-else><a href="javascript:void(0);" @click=" selectPage(pageIndex)">{{pageIndex}}</a></li>
													</template>
													<li v-if="page.hasNextPage" class="next"><a href="javascript:void(0);" @click=" selectPage(page.pageNum+1)">下一页</a></li>
													<li v-else class="next disabled"><a href="javascript:void(0);" onclick="">下一页</a></li>
													<li class="next"><a href="javascript:void(0);" @click=" selectPage(page.pages)">尾页</a></li>
												</div>

											</div>
										</div>

									</div>

								</div>

							</div>
						</div>

					</div>

				</div>
			</div>
		</div><!-- /.page-content -->

	</div><!-- /.main-content -->

	<a href="javascript:void(0);" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse"  style="z-index:1111">
		<i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
	</a>
</div><!-- /.main-container -->

<!-- 底部 -->
<!-- basic scripts -->


<![endif]-->

<script src="static/bootstrap/bootstrap.min.js"></script>

<!-- ace scripts -->
<script src="static/ace/js/ace-elements.min.js"></script>
<script src="static/ace/js/ace.min.js"></script>


<!-- 引入其他js -->
<script src="static/js/history.js"></script>
<script type="text/javascript" src="static/layer/layer.js"></script>
<script type="text/javascript" src="static/js/spin.min.js"></script>
<script type="text/javascript" src="static/ztree/jquery.ztree.all-3.5.min.js"></script>
<script type="text/javascript" src="static/js/jquery.autosize.min.js"></script>
<script type="text/javascript" src="static/chosen/chosen.jquery.min.js"></script>
<script type="text/javascript" src="static/validate/Validform_v5.3.2_min.js"></script>
<script type="text/javascript" src="static/js/jquery.form.js"></script>
<script type="text/javascript" src="static/js/bootstrap-contextmenu.js"></script>
<script type="text/javascript" src="static/js/jquery.nicescroll.min.js"></script>
<script type="text/javascript" src="static/js/public.js"></script>

<script type="text/javascript" src="static/vue/vue.js"></script>
<script type="text/javascript" src="static/vue/axios.js"></script>

<script type="text/javascript" src="static/js/log/log.js"></script>
</body>
</html>
